﻿using Microsoft.EntityFrameworkCore;

namespace PesticideManage.API.Services.Identity.UserAggregate;
[Owned]
public class Address
{
    /// <summary>
    /// 街道
    /// </summary>
    public string? Street { get; private set; }
    /// <summary>
    /// 区、县
    /// </summary>
    public string? District { get; private set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string? City { get; private set; }
    /// <summary>
    /// 状态
    /// </summary>
    public string? Province { get; private set; }
    /// <summary>
    /// 国家
    /// </summary>
    public string Country { get; private set; } = "中国";
    /// <summary>
    /// 邮政编码
    /// </summary>
    public string? ZipCode { get; private set; }
}